package com.xh.petdogexpert.sys.mapper;

import java.util.List;

import com.xh.petdogexpert.sys.dto.Role;

public interface RoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Role role);

    int insertSelective(Role role);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role role);

    int updateByPrimaryKey(Role role);

	List<Role> queryRoles(Role role);
	
	List<Role> getRoleResources(Role role);
}